Customization
Customizable Resources
<!-- Main color -->
<color name="meetingdoctors_base_color">@color/colorPrimary</color>
<!-- Main text color -->
<color name="meetingdoctors_text_base_color">@android:color/white</color>
<!-- ProfessionalList: Professional description text color -->
<color name="meetingdoctors_speciality_color">#000000</color>
<!-- ProfessionalList: Semi-transparent color over not accessible professionals -->
<color name="meetingdoctors_disabled_professional_color">#00000000</color>
<!-- Chat: Date message text color -->
<color name="meetingdoctors_message_text_color_date">#4d4e52</color>
<!-- Chat: Date message background color -->
<color name="meetingdoctors_message_background_color_date">@null</color>
<!-- Chat: My text message text color -->
<color name="meetingdoctors_message_text_color_mine">#4d4e52</color>
<!-- Chat: My text message background color -->
<color name="meetingdoctors_message_background_color_mine">@null</color>
<!-- Chat: Others text message text color -->
<color name="meetingdoctors_message_text_color_their">#ffffff</color>
<!-- Chat: Others text message background color -->
<color name="meetingdoctors_message_background_color_their">@null</color>
<!-- Notification: Background color -->
<color name="meetingdoctors_notification_color">@color/colorPrimary</color>
Customizable Method
Set primary color. Call method setPrimaryColor(color : Int)
MeetingDoctorsClient.instance.setPrimaryColor(Color.parseColor("#4d4e52"))
Set secondary color. Call method setSecondaryColor(color : Int)
MeetingDoctorsClient.instance.setPrimaryColor(Color.parseColor("#4d4e52"))
Set Color for incoming background message. Call method setMessageBgColor(color: Int)
MeetingDoctorsClient.instance.setMessageBgColor(Color.parseColor("#4d4e52"))
Set Disable Professional Color. Call method setDisabledProfessionalColor(color : Int)
MeetingDoctorsClient.instance.setDisabledProfessionalColor(Color.parseColor("#4d4e52"))
Set Color for unread messages badge. Call method setUnreadBadgeProfessionalColor(color : Int)
MeetingDoctorsClient.instance.setUnreadBadgeProfessionalColor(Color.parseColor("#4d4e52"))
Set Color for professional speciality text in professional list. Call method setSpecialityProfessionalColor(color : Int)
MeetingDoctorsClient.instance.setSpecialityProfessionalColor(Color.parseColor("#4d4e52"))
Set Color for outgoing background message. Call method setOutgoingMessageBgColor(color : Int)
MeetingDoctorsClient.instance.setOutgoingMessageBgColor(Color.parseColor("#4d4e52"))
Set Color for outgoing text message. Call method setMessageTextOutgoingColor(color : Int)
MeetingDoctorsClient.instance.setMessageTextOutgoingColor(Color.parseColor("#4d4e52"))
Set Color for outgoing time message. Call method setTimeOutgoingTextColor(color : Int)
MeetingDoctorsClient.instance.setTimeOutgoingTextColor(Color.parseColor("#4d4e52"))
Set Color for incoming text message. Call method setMessageTextIncomingColor(color : Int)
MeetingDoctorsClient.instance.setMessageTextIncomingColor(Color.parseColor("#4d4e52"))
Set Color for incoming time message. Call method setMessageTextIncomingColor(color : Int)
MeetingDoctorsClient.instance.setMessageTextIncomingColor(Color.parseColor("#4d4e52"))